It is now unused (at least in gnome-shell itself).
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3170>
this.notifications = [];
if (!this._policy)
- this._policy = this._createPolicy();
+ this._policy = new NotificationGenericPolicy();
}
get policy() {
this.notify('count');
}
- _createPolicy() {
- return new NotificationGenericPolicy();
- }
-
get narrowestPrivacyScope() {
return this.notifications.every(n => n.privacyScope === PrivacyScope.SYSTEM)
? PrivacyScope.SYSTEM